<?php

namespace Admin\Models\school;

use Admin\Models\BaseModel;
class XhschoolWeekly extends BaseModel
{

    /**
     *
     * @var integer
     */
    public $iSWId;

    /**
     * @var integer
     */
    public $iSchoolId;

    /**
     * @var integer
     */
    public $iStartDay;

    /**
     * @var integer
     */
    public $iEndDay;

    /**
     * @var integer
     */
    public $iWeekIndex;


    /**
     * @var string
     */
    public $mAppAnalyze;

    /**
     * @var string
     */
    public $mTchTrack;

    /**
     * @var string
     */
    public $mTaskTrack;

    /**
     * @var string
     */
    public $mPClass;

    /**
     * @var string
     */
    public $mSummary;

    /**
     * @var string
     */
    public $mPlan;

    /**
     *
     * @var integer
     */
    public $bDelete;

    /**
     *
     * @var string
     */
    public $tCreateDate;

    /**
     *
     * @var string
     */
    public $iCreateUserId;

    /**
     *
     * @var string
     */
    public $tLastModifyDate;

    /**
     *
     * @var string
     */
    public $iLastModifyUserId;

    /**
     * @var string
     * create by xjq 20180509
     */
    public $sFiles;

    /**
     * @var string
     * create by xjq 20180509
     */
    public $sImages;

    /**
     * 等级
     *
     * @var integer
     * create by xjq 20180615
     */
    public $iLevel;
    /**
     * 是否锁定
     * @var integer
     * create by xjq 20180615
     */
    public $bLock;

    public $iState;

    /**
     * Initialize method for model.
     */
    public function initialize()
    {
        parent::initialize();
//        $this->setSource("XHSchool_AppGroup");
    }

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'XHSchool_Weekly';
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhschoolWeekly[]
     */
    public static function find($parameters = null)
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhschoolWeekly
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }


}
